home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 August / CICA - The Ultimate Collection of Shareware for Windows (Disc 2) (August 1995).iso / disc2 / demo / tgdemo.exe / TGDEMO3.FRM (.txt) < prev    next >
Visual Basic Form  |  1993-08-04  |  3KB  |  88 lines

  1. Demo3
  2. Demo 3 - Code Interaction
  3. Form15
  4. Command7
  5. Command6
  6. Previous
  7. Command5
  8. Command4
  9. First
  10. Command3
  11. AddNew
  12. Command2
  13. Delete
  14. Command1
  15. Update
  16. Text1
  17. Text1
  18. Data1*
  19. COMPANY
  20. Text1
  21. Text1
  22. Data1*
  23. LASTNAME
  24. Text1
  25. Text1
  26. Data1*    FIRSTNAME
  27. Table1
  28. TgDemo
  29. First Name
  30. Firstname
  31. Last Name
  32. Lastname
  33. Company
  34. Company
  35. Data1M
  36. Data1%
  37. dBASE IV;database=.
  38. CUSTOMER
  39. Customer Database
  40. Label1
  41. Company
  42. Label1
  43.     Last Name
  44. Label1
  45. First Name
  46.     Form_Load
  47. Form_Unload
  48. Cancel
  49. QuitCurrentDemo
  50. Command1_Click
  51. Command2_Click
  52. Data1
  53.     Recordset
  54. Command3_Click
  55. Command4_Click
  56. Command5_Click
  57. Command6_Click
  58. Command7_Click
  59. After
  60. Command1_Click
  61.  TrueGrid will automatically "listen" for thei
  62.  update and will change the display to indicate
  63.  that the data has been written.
  64. Command2_Click
  65.  When the current record is deleted, Access leaves
  66.  the record pointer at the deleted record.  However,
  67.  upon return to TrueGrid, the grid senses that the
  68.  current position is invalid and positions to thee
  69.  next record automatically.d
  70. Command3_Click
  71.  AddNew doesn't actually create the record, whiche
  72.  is why we need the Update.  e
  73.  After the AddNew/Update
  74.  pair, VB3/Access reinstates the OLD record position.
  75.  To make things more pleasant for the grid user,
  76.  we position to the last record (the newly added one).
  77.  It is not necessary to write any code to inform
  78.  TrueGrid about what you are doing.o
  79. Command4_Click
  80.  TrueGrid will follow the actions taken here.o
  81. Command5_Click
  82.  TrueGrid will follow the actions taken here.o
  83. Command6_Click
  84.  TrueGrid will follow the actions taken here.o
  85. Command7_Click
  86.  TrueGrid will follow the actions taken here.o
  87. Form_Unload
  88.